import { IFeidaoAiBrowserComponent } from '@dfeidao/atom-web/interfaces';
import nodejs from '@dfeidao/atom-web/msg/nodejs';
import render from '@dfeidao/atom-web/render/render';
import p001 from './p001';

export default async function a005(fd: IFeidaoAiBrowserComponent) {
	//搜索
	const equip_type_name = fd.data.node.querySelector<HTMLInputElement>('[data-id="equip_type_name"]').value;

	const res = await nodejs('device-type/zj-000004/s001', {
		filter: {
			equip_type_name: equip_type_name

		}
	});
	console.log(res);
	render(fd, res, p001, 'p001', 'inner');

}
